/**
 * 
 */
package com.wissen.temperatureapp.client.observers;

/**
 * Classes who want to observe temperature result must implement this interface.
 * 
 * Interface notify about temperature convert success and failure.
 * 
 * @author Mayur Birari
 * 
 */
public interface TemperatureObserver {

	/**
	 * Notify the observer convert successful
	 */
	void notifyConvertSucceeded(Double fahrenheitvalue);

	/**
	 * Notify the observer convert failed  with error message
	 * 
	 * @param errorMessage
	 * */
	void notifyConvertFailed(String errorMessage);
}
